home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 104
/
104.d81
/
old glory
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
179 lines
100 poke53280,0:poke53281,0
140 poke55,0:poke56,64:clr:a$=""
142 dv=peek(186):ifdv<8thendv=8
143 dimr$(30),an$(16)
145 print"[147]":poke788,52:gosub60000
155 def fnd(i)=20-(len(an$(i))/2)
160 sys57812"unpacker.89",dv,0:poke780,0:poke781,0:poke782,201:sys65493
197 sys57812"wp.o $c000",dv,0:poke780,0:poke781,0:poke782,192:sys65493
198 sys57812"inpany/copy",dv,0:poke780,0:poke781,60:poke782,3:sys65493
200 ip=828:unpack=51456:hgr=51459:cp=928
202 fori=1to29:readr$(i):next
204 data"betsy","hopkinson","fort indy","15","20","21","23","24","25","26","27"
206 data"28","29","30","31","32","33","34","35","36","37","38","43","44","45"
208 data"46","48","49","50"
210 bo=53280:bg=53281
212 tp$="[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
214 md$="[221] [221]"
216 bt$="[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
220 qy=12:gosub4000
230 print"[129]"tab(10)"[212][200][197] [207][204][196] [199][204][207][210][217] [211][212][207][210][217]"
232 printtab(4)"1.[159] [211]ee the slideshow
234 [153][163]4)"2.open str$esign 51 and 52 star flags
236 printtab(4)"3.[159] [209]uit to [204][207][193][196][211][212][193][210]
238 [151]198,0
240 [161]a$:[139]a$[179]"1"[176]a$[177]"3"[167]240
250 [145][197](a$)[137]270,5000,40000
270 [129]x[178]1[164]29:j[178]0
272 [129]i[178]1[164]16:an$(i)[178]"":[130]
273 [159]2,dv,2,"og."[170]r$(x)[170]",p,r"
274 [129]i[178]0[164]1:[158]ip,2,40:i[178]st
275 j[178]j[170]1:an$(j)[178]a$:[139]j[177]15[167]i[178]1
276 [130]:[160]2
280 [141]1770
290 [158]57812r$(x)[170]".shp",dv,0:[151]780,0:[151]781,0:[151]782,64:[158]65493
310 [141]1910:[139]a$[178]"q"[176]a$[178]"(NULL)"[167]220
312 [141]2000
340 kk[178]0:[151]198,0
360 kk[178]kk[170]1:[161]a$
370 [139]a$[178]"q"[176]a$[178]"(NULL)"[167][158]hg:[137]220
380 [139]a$[178]"s"[176]a$[178]"(NULL)"[167]470
385 [139]a$[178]"p"[176]a$[178]"(NULL)"[167][141]3000:[137]340
390 [139]a$[178]"b"[176]a$[178]"peek"[167][151]bo,([194](bo)[170]1)[175]15:[137]340
400 [139]a$[178]" "[167]420
419 [139]kk[179]600[167]360
420 [158]hgr:[153]"load":[151]198,0:[130] x
430 [137]270
470 [158] hgr
560 [153]"loadopen (NULL)his will save "[199](34)r$(x)[199](34)"open as a"
562 [153]" str$(NULL)(NULL)str$(NULL)val! file."
564 [153]" (NULL)ource drive is"dv
566 [153]"open str$estination drive # (cont8open - cont12open): ";:l9%[178]2:[141]50000:de[178][197](q9$)
568 [139]de[179]8[176]de[177]12[167]560
590 [153]"open ascilename: dd";:l9%[178]14:[141]50000:[139]q9$[178]""[167]1110
620 nm$[178][200]("dd"[170]q9$,14)
820 [159]15,de,15,"r0:"[170]nm$[170]"="[170]nm$:[132]15,er,er$:[160]15
830 [139]er[178]63[167][141]1170:[137]1110
950 [158]57812nm$,de:[151]193,0:[151]194,92:[151]174,0:[151]175,128:[158]62954
980 [159]15,8,15:[132]15,er,er$,y$,z$:[160]15
990 [139]er[167][141]1170:[137]490
1050 [153]" (NULL)uccessful save!"
1060 [129]t[178]1[164]2000:[130]
1110 [158]hgr:[137]340
1170 [153]" str$isk error!
1180 poke214,10:print
1190 a$="[152][197]rror #"+str$(er)+"[152],"+er$
1200 x%=22-len(a$)/2:printtab(x%);a$
1210 poke214,21:print
1220 print"[159] [208]ress [211][208][193][195][197][159] to continue."
1230 geta$:ifa$<>" "then1230
1240 return
1250 o=peek(53270)and16
1255 ifothensys51459
1260 pokebo,0:pokebg,0
1270 print"[147]":poke214,11:print:print"[154] [209]uit? (y[154]/n[154])":poke198,0
1280 geta$:ifa$<>"y"anda$<>"n"then1280
1290 ifa$="y"then40000
1295 ifothensys51459
1770 qy=15:gosub4000
1870 poke214,9-(j/2):print:print"[145][159]";
1880 fori=1toj
1882 printtab(fnd(i))an$(i)
1886 next
1900 return
1910 kk=0
1915 poke214,17:print:print"[153] [215]hile the slide is showing..."
1918 print" [208] [158]- takes you to [208][210][201][206][212] routine"
1919 print" [211] [158]- takes you to [211][193][214][197] routine"
1920 print" [209] [158]- quits to the [205]ain [205]enu
1930 [153]"print (NULL)ress (NULL) to quit - (NULL)(NULL)atnlenval to continue"
1940 kk[178]kk[170]1:[161]a$:[139]a$[179][177]""[176]kk[177]1000[167][142]
1950 [137]1940
2000 [153]"load";:[139]fh[167][151]254,0:[158]ba:[137]2040
2020 [151]251,64:[151]252,96:[151]253,92
2030 [158]un
2040 [151]252,96:[151]253,92:[158]hgr:[142]
2050 [142]
3000 [158]hgr
3020 [151]49158,0:[151]49159,0:[151]49160,39:[151]49161,24:[151]49162,96
3040 [153]"loadopen (NULL)urn your printer on and press (NULL)(NULL)atnlenvalopen."
3050 [161]a$:[139]a$[179][177]" "[167]3050
3070 [153]"open (NULL)ress (NULL)val(NULL)(NULL)(NULL)(NULL)open to print the graphic, or
3080 print" press [211][208][193][195][197][159] to go back to the graphic.
3090 [161]a$:[139]a$[179][177]" "[175]a$[179][177][199](13)[167]3090
3100 [139]a$[178][199](13)[167][158]hgr:[158]49152:[142]
3110 [158]hgr:[142]
4000 [153]"";
4010 [151]bg,0:[151]bo,0
4020 [153]"loadlistortantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantan^"
4030 [129]qx[178]1[164]qy
4040 [153]"(NULL)"[163]38)"(NULL)":[130]
4050 [153]"/tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanexp"
4060 [129]lx[178]217[164]242:[151]lx,([194](lx)[176]128):[130]
4070 [142]
5000 [151]bg,1:[151]bo,1:[153]"load"
5002 [153]" "tp$:[129]i[178]1[164]18:[153]" "md$:[130]:[153]" "bt$
5005 s[178]0
5010 [151]214,21:[153]:[153][163]13)"stop(NULL)tar count:"
5015 [153]"print# (NULL)se len(NULL)(NULL)(NULL) keys/(NULL)val(NULL)(NULL)(NULL)(NULL) to toggle stars
5020 print" [208] - [208]rint [195][204][210] - [195]lear [209] - [209]uit
5025 [151]198,0:y[178]2:x[178]3:sc[178]1024:c[178]54272:[151]650,128
5030 l[178]sc[170]y[172]40[170]x:[151]l[170]c,3:[151]214,21:[153]:[153][163]24)" cmdcmdcmdcmdcmdstop"s
5040 [161]a$:[139]a$[178]""[167]5040
5041 [151]l[170]c,6
5042 [139]a$[179][177][199](13)[167]5050
5044 [139][194](l)[178]170[167][151]l,160:s[178]s[171]1:[137]5072
5046 [151]l,170:s[178]s[170]1:[137]5072
5050 [139]a$[179][177]"on"[167]5060
5052 y[178]y[171]1:[139]y[179]2[167]y[178]19
5054 [137]5030
5060 [139]a$[179][177]""[167]5070
5062 y[178]y[170]1:[139]y[177]19[167]y[178]2
5064 [137]5030
5070 [139]a$[179][177]""[167]5080
5072 x[178]x[170]1:[139]x[177]37[167]x[178]3
5074 [137]5030
5080 [139]a$[179][177]"cmd"[167]5086
5082 x[178]x[171]1:[139]x[179]3[167]x[178]37
5084 [137]5030
5086 [139]a$[178]"q"[167][151]650,0:[137]220
5088 [139]a$[178]"load"[167]5002
5090 [139]a$[179][177]"p"[167]5030
5092 [151]781,23:[158]59903:[151]781,24:[158]59903
5094 [151]214,23:[153]:[153]"print# chr$et your printer ready/press (NULL)(NULL)atnlenval":[151]198,0
5096 [161]a$:[139]a$[178]""[167]5096
5097 [139]a$[179][177]" "[167]5010
5098 [159]4,4,7
5100 [159]2,3,2:[129]i[178]0[164]19:[151]214,i:[153]
5110 [132]2,b$:[152]4," ";b$
5120 [130]:[160]2:[160]4
5130 [153]:[137]5010
5999 [137]5999
10000 [159]15,8,15,"s0:old glory":[160]15:[148]"old glory",8:[128]
40000 [151]788,49
40005 a$[178]"hello connect":[129]i[178]8[164]9:[160]2:[159]2,i,2:[160]2:[139]st[167]40030
40010 [160]15:[159]15,i,15,"r0:"[170]a$[170]"="[170]a$:[132]15,er:[160]15:[139]er[178]63[167]40030
40020 [130]:[153]"load":[151]2048,0:[151]44,8:[151]53272,23:[151]186,8:[128]
40030 [151]646,[194](53281):[153]"loadload"[199](34)a$[199](34)","i
40040 [153]"run":[151]44,8:[151]2048,0:[151]631,13:[151]632,13:[151]198,2:[128]
50000 q9$[178]"":u9[178]53280:[151]198,0
50010 [161]a$
50020 [151]646,[187](1)[172]15[170]1:[153]"tocmd";:[139]a$[178]""[167]50010
50030 [139]a$[178][199](13)[167][153]" ":[142]
50040 [139](a$[178][199](20)[175][195](q9$))[167]q9$[178][200](q9$,[195](q9$)[171]1):[137]50080
50050 [139][195](q9$)[177][178]l9%[167]t9%[178][194](u9):[151]u9,1:[151]u9,t9%:[137]50010
50060 [139]a$[179]" "[176](a$[177][199](127)[175]a$[179][199](160))[176]a$[178][199](34)[167]50010
50070 q9$[178]q9$[170]a$
50080 [153]""a$;:[137]50010
60000 [153]"load":z$[178]" print#